// @use "@/css/amtf-var.scss" as *;

@use "@/css/element.scss";
@use "amtf/css/amtf.scss";
// @use "@/css/reset";
@use "@/css/iconfont.css";

// @use "amtf/css/atailwind.scss";
@tailwind base;
@tailwind components;
@tailwind utilities;

.选型 {
    min-width: 900px;
}
.html-grey {
    filter: grayscale(100%);
}

.html-weakenss {
    filter: invert(80%);
}

.gva-table-box {
    padding: 1rem;
    background-color: #fff;
    color: #334155;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    .el-table {
        border-left: 1px solid;
        border-right: 1px solid;
        border-top: 1px solid;
        border-bottom: 0;
        border-radius: 0.25rem;
        border-color: #e2e8f0;
        margin-left: -1px;
        margin-right: -1px;
    }
}

.gva-btn-list {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

#nprogress .bar {
    background: #29d !important;
}

.gva-customer-icon {
    width: 1rem;
    height: 1rem;
}

.工具栏 {
    z-index: 10;
    position: fixed;
    transition: all 0.5s;
}

.上移隐藏 {
    transform: translateY(-100%);
    opacity: 0;
}

.复位显示 {
    transform: translateY(0%);
    background: #fff;
    opacity: 1;
}

.gva-search-box {
    padding: 1rem;
    background-color: #fff;
    color: #334155;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.gva-form-box {
    padding: 1rem;
    background-color: #fff;
    color: #334155;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 深色模式下的样式 */
.dark .gva-table-box,
.dark .gva-search-box,
.dark .gva-form-box {
    background-color: #1e293b;
    color: #94a3b8;
}

.q-table th {
    font-weight: inherit !important;
    font-size: inherit !important;
    -webkit-user-select: unset !important;
    user-select: unset !important;
}

.q-table tbody td {
    font-size: inherit !important;
}

.清底距 {
    margin-bottom: unset !important;
}

.a-tree-node {
    display: flex;
    justify-content: space-between;
    padding-right: 1rem;
    flex: 1;

    &-label {
        flex: 1;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.a-page-dinggao {
    height: calc(100vh - 40px - 300px);
    overflow: hidden;
}

.a-bg {
    background-color: #f9fafb !important;
}

.全高-工具栏-60 {
    height: calc(100% - 120px) !important;
}
.全高-工具栏 {
    height: calc(100% - 40px) !important;
}
// .q-layout-padding {
//     padding: 40px 10px 10px !important;
// }
